package com.cyf.app.service;

import com.cyf.app.network.bean.booking.*;

/**
 * app车位预约接口
 * Created by cage on 2017/4/7.
 */
public interface AppBookingService {

    /**
     * 获取预约车场列表
     *
     * @param req AppGetParkingsReq
     * @return AppGetParkingsRsp
     */
    AppGetParkingsRsp getParkings(AppGetParkingsReq req);

    /**
     * 车位预约
     *
     * @param req AppBookingReq
     * @return AppBookingRsp
     */
    AppBookingRsp booking(AppBookingReq req);

    /**
     * 获取预约信息列表
     *
     * @param req AppGetBookingInfoReq
     * @return AppGetBookingInfoRsp
     */
    AppGetBookingInfoRsp getBookingInfo(AppGetBookingInfoReq req);

    /**
     * 取消车位预约
     *
     * @param req AppCancelBookingReq
     * @return AppCancelBookingRsp
     */
    AppCancelBookingRsp cancelBooking(AppCancelBookingReq req);

    /**
     * 获取地锁列表
     *
     * @param req AppGetParkingLocksReq
     * @return AppGetParkingLocksRsp
     */
    AppGetParkingLocksRsp getParkingLocks(AppGetParkingLocksReq req);

    /**
     * 降锁时获取MAC地址
     *
     * @param req AppGetMacAddressReq
     * @return AppGetMacAddressRsp
     */
    AppGetMacAddressRsp getMacAddress(AppGetMacAddressReq req);

}
